package com.wtwd.campus.jdzc.service;


import com.wtwd.campus.jdzc.entity.JdzcStudent;

import java.util.List;
import java.util.Map;

/**
 * @author mjy
 * @date 2022/02/15
 * @description
 */
public interface JdzcStudentService {
    List<Map<String, Object>> getStuByNameAndStuNo(String name, String stuNo);

    List<Map<String, Object>> getSchoolOrgCodeListByStuIdList(List<Integer> stuIdList);

    List<Map<String, Object>> bindStudentPhoneList(Integer studentId);

    Integer updateStudentWxUserBindStatus(int start, Integer studentId);

    int unbindStudent(Integer userId, Integer studentId);

    Map<String, Object> getSchoolIdAndClassIdByStuId(Integer stuId);

    /**
     * 获取学生列表（发送指令之前的列表）
     * @param userId
     * @return
     */
    List<Map<String,Object>> getStudentList(Integer userId);

    List<String> getImeiListByStuIdList(List<Integer> stuIdList);

    Map<String, Object> getStudentByStuId(Integer stuId);

    List<JdzcStudent> getStudentListByClassId(Integer classId);
}
